package space.sakana.edusysback.entity.question.type;

import space.sakana.edusysback.emu.QuestionEnum;

public class SingleChoice extends QuestionBase{
    private int id;
    private int qid;
    private int type = QuestionEnum.SINGLE_CHOICE.getQuestionInt();
    private String title;
    private int sid;
    private String choice_a;
    private String choice_b;
    private String choice_c;
    private String choice_d;
    private String answer;
    private int score;

    public SingleChoice(int id, int qid, String title, int sid, String choice_a, String choice_b, String choice_c, String choice_d, String answer) {
        this.id = id;
        this.qid = qid;
        this.title = title;
        this.sid = sid;
        this.choice_a = choice_a;
        this.choice_b = choice_b;
        this.choice_c = choice_c;
        this.choice_d = choice_d;
        this.answer = answer;
    }

    public SingleChoice(int id, int qid, String title, int sid, String choice_a, String choice_b, String choice_c, String choice_d) {
        this.id = id;
        this.qid = qid;
        this.title = title;
        this.sid = sid;
        this.choice_a = choice_a;
        this.choice_b = choice_b;
        this.choice_c = choice_c;
        this.choice_d = choice_d;
    }

    public SingleChoice(int qid, String title, int sid, String choice_a, String choice_b, String choice_c, String choice_d, String answer) {
        this.qid = qid;
        this.title = title;
        this.sid = sid;
        this.choice_a = choice_a;
        this.choice_b = choice_b;
        this.choice_c = choice_c;
        this.choice_d = choice_d;
        this.answer = answer;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getQid() {
        return qid;
    }

    public void setQid(int qid) {
        this.qid = qid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getChoice_a() {
        return choice_a;
    }

    public void setChoice_a(String choice_a) {
        this.choice_a = choice_a;
    }

    public String getChoice_b() {
        return choice_b;
    }

    public void setChoice_b(String choice_b) {
        this.choice_b = choice_b;
    }

    public String getChoice_c() {
        return choice_c;
    }

    public void setChoice_c(String choice_c) {
        this.choice_c = choice_c;
    }

    public String getChoice_d() {
        return choice_d;
    }

    public void setChoice_d(String choice_d) {
        this.choice_d = choice_d;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

}
